

import request from '@/utils/request';
import { other } from './prefix';

const uploadManage = {
  // 上传图片
  uploadImage(params) {
    return request.post(other + '/upload_image?op=upload_file',  params );
  },
  // 上传视频
  uploadVideo(params) {
    return request.post(other + '/upload_video?op=upload_file', params );
  },
};

export default uploadManage;
